#ifndef _SUPERMARKET_H
#define _SUPERMARKET_H

#include "Customer.h"
//#include "List.h"
#include "Observer.h"
#include "Casher.h"
#include "MyTimer.h"

/* class CustomerManager; */
/* class Casher; */

class Supermarket : public Observer {

 public:

 Supermarket(MyTimer *timer): _timer(timer){}
      
    virtual void reciveCustomer(Customer* client);

    //virtual List& getCashers();

    void update(Observable*);

private:
    //List casher1;

 public:
    Casher myCasher;

    MyTimer *_timer;
};

#endif // Supermarket_h
